Auto merge of #2828 - bennofs:cargo-repackage, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 6 Jul 2016 04:07:23 +0000 (21:07 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2016 04:07:23 +0000 (21:07 -0700)
commitaf5dd4f53359ccc1bbb6bb7708183fce3d11ea4e
tree540458524e5859f4eb8d3d91b17db2ba8498605c
parent0b09ff3ce892ffab4698eeeb1702f6230e77f66e
parent18bf06d3a46af7bfc02698f75562699dc7f8f0ec
Auto merge of #2828 - bennofs:cargo-repackage, r=alexcrichton

cargo package: overwrite existing tarballs

Previously, cargo package did not do anything if a tarball already
existed. This is wrong, because the source may have changed and cargo
does not do any dependency tracking for package tarballs yet, so it did
not notice this.

This commit changes cargo package to always overwrite existing tarballs,
which works fine until proper dependency tracking is implemented.

Fixes #2799